package cn.zswltech.gruul.web.api.controller;

import cn.zswltech.gruul.api.OperationLogApi;
import cn.zswltech.gruul.biz.service.OperationLogService;
import cn.zswltech.gruul.common.dal.query.OperationLogQuery;
import cn.zswltech.lib.futurelog.save.util.Page;
import cn.zswltech.gruul.common.result.Response;
import cn.zswltech.lib.futurelog.save.model.vo.FutureLogVO;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author pengfei.yu
 * @date 2024/2/22 18:07
 */
@RestController
public class OperationLogController implements OperationLogApi {

    @Resource
    private OperationLogService operationLogService;

    /**
     * 操作日志查询
     *
     * @param qry
     * @return
     */
    @Override
    public Response<Page<FutureLogVO>> logPageList(OperationLogQuery qry) {
        return operationLogService.logPageList(qry);
    }
}
